﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Reviewer.Entities.Services
{

    /// <summary>
    /// Genre Service Interface
    /// </summary>
    [ServiceContract(Namespace = "Reviewer.Services")]
    public interface IMembersAttributeService : IDisposable
    {
        [OperationContract]
        MembersAttribute[] GetAttributes(string userName);
        
        [OperationContract]
        MembersAttribute[] GetAttributes(string userName, string keyName);

        [OperationContract]
        string GetUserNameFromAttribute(string keyName, string value);
    }
}
